package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品-套餐商品
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsGCombo对象", description="商品-套餐商品")
public class ZsGCombo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品套餐属性主键")
    @TableId(value = "gc_id", type = IdType.AUTO)
    private Integer gcId;

    @ApiModelProperty(value = "商品主键")
    private Integer goodsId;

    @ApiModelProperty(value = "打包的子产品ID")
    private Integer goodsSonId;


}
